### ReadMe.txt

This directory contains the replication data and replication file for the
manuscript "Two Americas of Well-Being: Divergent Rural-Urban Patterns of 
Life Satisfaction and Happiness from 2.6 B Social Media Posts",
available here: https://arxiv.org/abs/2511.10542 

The file: x_wide.csv is a subset of the larger HFGI dataset ( https://doi.org/10.7910/DVN/T39JBY )
In addition it contains data extracted from the following sources, listed by variable:

* rural: 
  + USDA Rural–Urban Continuum Codes 
    https://www.ers.usda.gov/data-products/rural-urban-continuum-codes/
    
* acs5: 
  + county-level household income derived from the American Community Survey (ACS) 5-Year Estimates
    https://www.census.gov/programs-surveys/acs
    
* margin:
  + county-level presidential election results for the 2016 and 2020 U.S. elections, 
    obtained from the MIT Election Data and Science Lab (MEDSL) repository
    https://dataverse.harvard.edu/dataverse/medsl
  + county-level electoral results for U.S. midterm elections in 2014, 2018 and 2022, 
    obtained from the OpenElections project
    https://openelections.net
    
The rest of the variables are taken from the HFGI dataset: https://doi.org/10.7910/DVN/T39JBY

